<template>
	<view>
		<!-- #ifndef MP-WEIXIN -->
		<public-header :title="title"></public-header>
		<view class="hei_100"></view>
		 <!-- #endif -->
		<view class="title">公司简介</view>
		<view class="text">
			<!-- <text style="width: 60rpx;display: inline-block;"></text> -->
			<view v-if="text!==''">
				<view class="list padd_32">
					<view v-html="text"></view>
					<!-- <rich-text :nodes="text"></rich-text> -->
				</view>
			</view>
		</view>
	</view>
</template>

<script>
import PublicHeader from '@/components/PublicHeader.vue';
	export default {
		components: {
			PublicHeader
		},
		data() {
			return {
				title: '',
				text: ' '
			}
		},
		mounted() {
			let _this = this
			_this.$http
				.get('/user/message/center/viewAbout')
				.then(function(response) {
					if (response.success) {
						_this.text = response.data.content
					}
				})
				.catch(function(error) {
					console.log(error)
				})
		},
		methods: {
			
		}
	}
</script>

<style scoped lang="scss">
.title{
	width: 100%;
	height: 100rpx;
	line-height: 100rpx;
	color: #000000;
	font-size: 32rpx;
	text-align: center;
}
.text{
	padding: 0 20rpx;
	color: gray;
	font-size: 26rpx;
}
</style>
